home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •AdventureLand• / Adventures / HyperQuest 1.03 ••• / HyperQuest 1.03 еее / card_27851.txt < prev    next >
Text File  |  1990-10-02  |  9KB  |  369 lines

  1. -- card: 27851 from stack: in.03 –µ–µ–µ
  2. -- bmap block id: 6103
  3. -- flags: 0000
  4. -- background id: 2766
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global chase
  9.   send cardOpened to background
  10.   if chase<>0 then hortaChase
  11. end openCard
  12.  
  13. on move
  14.   global direction,blastDam,holeDam,chase,blasting
  15.   if direction = "east" then
  16.     beep
  17.     put "You can't swim in this cave, sorry." into field 3
  18.     exit move
  19.   end if
  20.   if direction = "west" or direction = "down" then
  21.     if holeDam then
  22.       go to card id 27307
  23.     else
  24.       go to card id 26200
  25.     end if
  26.     exit move
  27.   end if
  28.   pass move
  29. end move
  30.  
  31.  
  32. on closeCard
  33.   set the cursor to 4
  34.   put "" into field 3
  35. end closeCard
  36.  
  37. on take
  38.   global object,carried
  39.   -- remember to update carried if you do not pass take
  40.   pass take
  41. end take
  42.  
  43. on drop
  44.   global object,dropRoom,carried,holeDam
  45.   answer "Drop object where (dam, room, or reservoir)?" with "reservoir" or "dam room" or "on dam"
  46.   if it="room" then
  47.     if holeDam then
  48.       put "27307" into dropRoom
  49.     else
  50.       put "26200" into dropRoom
  51.     end if
  52.   end if
  53.   if it="reservoir" then
  54.     put "Splash!" into field 3
  55.     put "28895" into dropRoom
  56.   end if
  57.   -- remember to update carried if you do not pass drop
  58.   pass drop
  59. end drop
  60.  
  61. on use
  62.   global object,carried
  63.   -- update carried if use results in loss of object
  64.   pass use
  65. end use
  66.  
  67. on hortaChase
  68.   show card field floodtime
  69. end hortaChase
  70.  
  71.  
  72.  
  73.  
  74. -- part 16 (button)
  75. -- low flags: 80
  76. -- high flags: 2000
  77. -- rect: left=122 top=230 right=266 bottom=156
  78. -- title width / last selected line: 0
  79. -- icon id / first selected line: 9301 / 9301
  80. -- text alignment: 1
  81. -- font id: 0
  82. -- text size: 12
  83. -- style flags: 0
  84. -- line height: 16
  85. -- part name: knife
  86. ----- HyperTalk script -----
  87. on mouseUp
  88.   global takeFlag,examFlag,object,cardID
  89.   put the name of the target into object
  90.   if takeFlag = true
  91.   then send take to card id cardID
  92. else put "a knife" into field 3
  93. put false into examFlag
  94. end mouseUp
  95.  
  96.  
  97.  
  98. -- part 17 (button)
  99. -- low flags: 80
  100. -- high flags: 2000
  101. -- rect: left=89 top=195 right=231 bottom=123
  102. -- title width / last selected line: 0
  103. -- icon id / first selected line: 1015 / 1015
  104. -- text alignment: 1
  105. -- font id: 0
  106. -- text size: 12
  107. -- style flags: 0
  108. -- line height: 16
  109. -- part name: nodule
  110. ----- HyperTalk script -----
  111. on mouseUp
  112.   global takeFlag,examFlag,object,cardID
  113.   put the name of the target into object
  114.   if takeFlag = true
  115.   then send take to card id cardID
  116. else put "a silicon sphere" into field 3
  117. put false into examFlag
  118. end mouseUp
  119.  
  120.  
  121.  
  122. -- part 18 (button)
  123. -- low flags: 80
  124. -- high flags: 2000
  125. -- rect: left=122 top=195 right=231 bottom=156
  126. -- title width / last selected line: 0
  127. -- icon id / first selected line: 14953 / 14953
  128. -- text alignment: 1
  129. -- font id: 0
  130. -- text size: 12
  131. -- style flags: 0
  132. -- line height: 16
  133. -- part name: ladder
  134. ----- HyperTalk script -----
  135. on mouseUp
  136.   global takeFlag,examFlag,object,cardID
  137.   put the name of the target into object
  138.   if takeFlag = true
  139.   then send take to card id cardID
  140. else put "a rope ladder" into field 3
  141. put false into examFlag
  142. end mouseUp
  143.  
  144.  
  145.  
  146. -- part 19 (button)
  147. -- low flags: 80
  148. -- high flags: 2000
  149. -- rect: left=122 top=160 right=196 bottom=156
  150. -- title width / last selected line: 0
  151. -- icon id / first selected line: 1019 / 1019
  152. -- text alignment: 1
  153. -- font id: 0
  154. -- text size: 12
  155. -- style flags: 0
  156. -- line height: 16
  157. -- part name: bomb
  158. ----- HyperTalk script -----
  159. on mouseUp
  160.   global takeFlag,examFlag,object,cardID
  161.   put the name of the target into object
  162.   if takeFlag = true
  163.   then send take to card id cardID
  164. else put "a time bomb" into field 3
  165. put false into examFlag
  166. end mouseUp
  167.  
  168.  
  169.  
  170. -- part 20 (button)
  171. -- low flags: 80
  172. -- high flags: 2000
  173. -- rect: left=89 top=160 right=196 bottom=123
  174. -- title width / last selected line: 0
  175. -- icon id / first selected line: 24317 / 24317
  176. -- text alignment: 1
  177. -- font id: 0
  178. -- text size: 12
  179. -- style flags: 0
  180. -- line height: 16
  181. -- part name: key
  182. ----- HyperTalk script -----
  183. on mouseUp
  184.   global takeFlag,examFlag,object,cardID
  185.   put the name of the target into object
  186.   if takeFlag = true
  187.   then send take to card id cardID
  188. else put "a key" into field 3
  189. put false into examFlag
  190. end mouseUp
  191.  
  192.  
  193.  
  194. -- part 21 (button)
  195. -- low flags: 80
  196. -- high flags: 2000
  197. -- rect: left=112 top=125 right=161 bottom=146
  198. -- title width / last selected line: 0
  199. -- icon id / first selected line: 7012 / 7012
  200. -- text alignment: 1
  201. -- font id: 0
  202. -- text size: 12
  203. -- style flags: 0
  204. -- line height: 16
  205. -- part name: gem
  206. ----- HyperTalk script -----
  207. on mouseUp
  208.   global takeFlag,examFlag,object,cardID
  209.   put the name of the target into object
  210.   if takeFlag = true
  211.   then send take to card id cardID
  212. else put "a glowing gem" into field 3
  213. put false into examFlag
  214. end mouseUp
  215.  
  216.  
  217.  
  218. -- part 23 (button)
  219. -- low flags: 00
  220. -- high flags: 0000
  221. -- rect: left=179 top=169 right=266 bottom=252
  222. -- title width / last selected line: 0
  223. -- icon id / first selected line: 0 / 0
  224. -- text alignment: 1
  225. -- font id: 0
  226. -- text size: 12
  227. -- style flags: 0
  228. -- line height: 16
  229. -- part name: 
  230. ----- HyperTalk script -----
  231. on mouseUp
  232.   global examFlag,direction,cardID,takeFlag
  233.   if examFlag then
  234.     put "a huge resevoir filled with water. Under the water a small object " into field 3
  235.     put "is glowing on the bottom the reservoir." after field 3
  236.     put false into examFlag
  237.   else
  238.     if takeFlag then
  239.       put "You take a drink of nice cool water -- ahhhhh!" into field 3
  240.       put false into takeFlag
  241.     else
  242.       put "east" into direction
  243.       send move to card id cardID
  244.     end if
  245.   end if
  246. end mouseUp
  247.  
  248.  
  249.  
  250. -- part 34 (button)
  251. -- low flags: 00
  252. -- high flags: 0000
  253. -- rect: left=2 top=98 right=133 bottom=38
  254. -- title width / last selected line: 0
  255. -- icon id / first selected line: 0 / 0
  256. -- text alignment: 1
  257. -- font id: 0
  258. -- text size: 12
  259. -- style flags: 0
  260. -- line height: 16
  261. -- part name: 
  262. ----- HyperTalk script -----
  263. on mouseUp
  264.   global examFlag,direction,cardID,takeFlag
  265.   if examFlag then
  266.     put "a tunnel leading north from the dam room." into field 3
  267.     put false into examFlag
  268.   else
  269.     put false into takeFlag
  270.     beep
  271.     put "Get off the dam first." into field 3
  272.   end if
  273. end mouseUp
  274.  
  275.  
  276.  
  277. -- part 41 (button)
  278. -- low flags: 00
  279. -- high flags: 0000
  280. -- rect: left=1 top=137 right=263 bottom=43
  281. -- title width / last selected line: 0
  282. -- icon id / first selected line: 0 / 0
  283. -- text alignment: 1
  284. -- font id: 0
  285. -- text size: 12
  286. -- style flags: 0
  287. -- line height: 16
  288. -- part name: 
  289. ----- HyperTalk script -----
  290. on mouseUp
  291.   global examFlag,direction,cardID
  292.   if examFlag then
  293.     put "the dam room." into field 3
  294.     put false into examFlag
  295.   else
  296.     put "west" into direction
  297.     send move to card id cardID
  298.   end if
  299. end mouseUp
  300.  
  301.  
  302.  
  303. -- part 42 (field)
  304. -- low flags: 81
  305. -- high flags: 2002
  306. -- rect: left=0 top=0 right=342 bottom=512
  307. -- title width / last selected line: 0
  308. -- icon id / first selected line: 0 / 0
  309. -- text alignment: 0
  310. -- font id: 3
  311. -- text size: 12
  312. -- style flags: 0
  313. -- line height: 16
  314. -- part name: Floodtime
  315. ----- HyperTalk script -----
  316. on mouseUp
  317.   global chase,blastWall,hortaDead,flood,holeDam,oldRoom,newRoom,prevID
  318.   set the cursor to 4
  319.   hide card field floodtime
  320.   if blastWall="false" then
  321.     put true into flood
  322.     put 29230 into oldRoom
  323.     put 29888 into newRoom
  324.     send roomChange to background
  325.     put 2539 into oldRoom
  326.     put 31944 into newRoom
  327.     send roomChange to background
  328.     put 30913 into oldRoom
  329.     put 33443 into newRoom
  330.     send roomChange to background
  331.     put 26200 into oldRoom
  332.     put 33443 into newRoom
  333.     send roomChange to background
  334.   end if
  335.   put true into holeDam
  336.   put true into hortaDead
  337.   put 0 into chase
  338.   put 28289 into prevID
  339.   go card id 28289
  340.   show card button id 17 of card id 7465
  341. end mouseUp
  342.  
  343.  
  344. -- part contents for background part 25
  345. ----- text -----
  346. Top of Crystal Dam
  347. (looking north)
  348.  
  349. -- part contents for card part 42
  350. ----- text -----
  351.  
  352. You quickly scale the side of the crystal dam.  The Horta tries to follow but the crystal material of the dam dissolves away on contact with the Horta's body, making it impossible for it to follow you.  The Horta roars loudly as it struggles frantically to climb the dam, only to find itself melting a hole futher into the crystal wall.
  353.      Suddenly, a mighty gusher of water blasts the Horta out of the hole in the dam and through the west door of the room below.  The thunderous roar of water is deafening as the contents of the huge reservoir to the east gush forth into the room below.  The room below begins to fill with a swirling torrent of water, but quickly the rush of water subsides and the water drains out the west door.
  354.      Within minutes, the room below to the west is empty (although still quite wet), and the reservoir to the east is empty except for puddles of water lying in small depressions.  In one of these puddles rests a glowing gem.
  355.      It looks like you can easily climb down either side of the breached dam, but I'd be careful not to slip on the wet crystal walls.
  356.  
  357. Click to continue...
  358.  
  359. -- part contents for background part 24
  360. ----- text -----
  361. You are on top of the crystal dam.  The dam is about two feet wide at the top.  Down to the west is a large room.  To the east is a very large reservoir filled with water.  You can see something glowing on the bottom of the reservoir -- too bad you can't swim.
  362.  
  363.  
  364.  
  365.  
  366.  
  367. -- part contents for background part 36
  368. ----- text -----
  369. 1